#!/bin/bash

# prometheus
data_dir=/opt/data/prometheus
mkdir -p ${data_dir}
log_path=./logs
mkdir -p $log_path

address=0.0.0.0:9090

(
./prometheus --config.file=./prometheus.yml --storage.tsdb.path ${data_dir} --web.listen-address=${address} --log.level debug

) >> ./logs/log.log 2>&1 &



